java print variable type

85

java print variable type -

System.out.println(((Object)x).getClass().getName());

Comments

Submit
0 Comments